package moc.type;

public class BOOLEANTYPE extends LOGICTYPE {

	@Override
	public int getTaille() {
				return 1 ;
	}

	@Override
	public boolean conforms(DTYPE autre) {
		return equals(autre)| autre instanceof INTEGERTYPE;
	}

	@Override
	public boolean equals(DTYPE autre) {
		return autre instanceof BOOLEANTYPE;
	}

}
